//
//  MXTucaoController.m
//  CatchBear
//
//  Created by 王启颖 on 2019/1/25.
//  Copyright © 2019 王启颖. All rights reserved.
//

#import "MXTucaoController.h"
#import "MXTucaoView.h"

@interface MXTucaoController ()
@property(strong,nonatomic)MXTucaoView *tucaoView;
@end

@implementation MXTucaoController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    [self tucaoView];
    self.title = @"吐槽";
}

-(MXTucaoView *)tucaoView{
    if (!_tucaoView) {
        _tucaoView = [[MXTucaoView alloc]initWithFrame:CGRectMake(0, 0, kScreenWidth, kScreenHeight - KSafeAreaBottonHeight)];
        _tucaoView.navigationController = self.navigationController;
        [self.view addSubview:_tucaoView];
    }
    return _tucaoView;
}

@end
